package com.abe.bathsystem.entity.serial;

import java.io.Serializable;

public class SerialCommandEntity implements Serializable{

    private byte[] command;
    private String type;
    private boolean isTest;

    public SerialCommandEntity(byte[] command, String type) {
        this.command = command;
        this.type = type;
        this.isTest = false;
    }

    public SerialCommandEntity(byte[] command, String type, boolean isTest) {
        this.command = command;
        this.type = type;
        this.isTest = isTest;
    }

    public byte[] getCommand() {
        return command;
    }

    public void setCommand(byte[] command) {
        this.command = command;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isTest() {
        return isTest;
    }

    public void setTest(boolean test) {
        isTest = test;
    }
}
